package com.topc.problem.model.dto;


import com.topc.problem.model.po.ProblemSample;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;

@Data
@Accessors(chain = true)
public class SaveProblemDto {

    private Long id;

    @NotNull
    private String title;

    @NotNull
    private String introduction;

    @NotNull
    private BigDecimal memoryLimit;

    @NotNull
    private BigDecimal timeLimit;

    @NotNull
    private String inputSample;

    @NotNull
    private String outputSample;

    @NotNull
    private String problemExplain;

    @NotNull
    private Integer difficulty;

    @NotNull
    private List<Long> tags;

    @NotNull
    private Integer isPublic;

}
